#ifndef COMPILER_ONLINE

include "header.hpp"

#endif

void Test1()
{
    std::vector<int> nums = {1, 2, 3, 4, 5, 6, 7};
    int ret = Solution().isMaxNumber(nums);
    if(ret == 7)
    {
        std::cout << "Test 1: nums = {1, 2, 3, 4, 5, 6, 7}, Test success..." << std::endl; 
    }
    else
    {
        std::cout << "Test 1: nums = {1, 2, 3, 4, 5, 6, 7}, Test failed..." << std::endl; 
    }
}

void Test2()
{
    std::vector<int> nums = {-1, -2, -3, -4, -5, -6, -7};
    int ret = Solution().isMaxNumber(nums);
    if(ret != -1)
    {
        std::cout << "Test 2: nums = {-1, -2, -3, -4, -5, -6, -7}, Test failed..." << std::endl; 
    }
    else
    {
        std::cout << "Test 1: nums = {-1, -2, -3, -4, -5, -6, -7}, Test success..." << std::endl; 
    }
}

int main()
{
    Test1();
    Test2();
    return 0;
}